package com.ql.gamelogm.entities;

public class Right {
    private String id;
    private String managerType;
    private int isMailEdit;
    private int isLogEdit;
    private int isRightEdit;
    private int isPersRightEdit;
    private int isCalendarEdit;

    public Right() {
    }

    public Right(String id, String managerType, int isMailEdit, int isLogEdit, int isRightEdit, int isPersRightEdit,int isCalendarEdit) {
        this.id = id;
        this.managerType = managerType;
        this.isMailEdit = isMailEdit;
        this.isLogEdit = isLogEdit;
        this.isRightEdit = isRightEdit;
        this.isPersRightEdit = isPersRightEdit;
        this.isCalendarEdit=isCalendarEdit;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getManagerType() {
        return managerType;
    }

    public void setManagerType(String managerType) {
        this.managerType = managerType;
    }

    public int getIsMailEdit() {
        return isMailEdit;
    }

    public void setIsMailEdit(int isMailEdit) {
        this.isMailEdit = isMailEdit;
    }

    public int getIsLogEdit() {
        return isLogEdit;
    }

    public void setIsLogEdit(int isLogEdit) {
        this.isLogEdit = isLogEdit;
    }

    public int getIsRightEdit() {
        return isRightEdit;
    }

    public void setIsRightEdit(int isRightEdit) {
        this.isRightEdit = isRightEdit;
    }

    public int getIsPersRightEdit() {
        return isPersRightEdit;
    }

    public void setIsPersRightEdit(int isPersRightEdit) {
        this.isPersRightEdit = isPersRightEdit;
    }

    public int getIsCalendarEdit() {
        return isCalendarEdit;
    }

    public void setIsCalendarEdit(int isCalendarEdit) {
        this.isCalendarEdit = isCalendarEdit;
    }

    @Override
    public String toString() {
        return "Right{" +
                "id='" + id + '\'' +
                ", managerType='" + managerType + '\'' +
                ", isMailEdit=" + isMailEdit +
                ", isLogEdit=" + isLogEdit +
                ", isRightEdit=" + isRightEdit +
                ", isPersRightEdit=" + isPersRightEdit +
                ", isCalendarEdit=" + isCalendarEdit +
                '}';
    }
}
